package com.paul.sys.mapper;

import com.paul.sys.model.DigroadInfo;
import com.paul.sys.tools.CommPageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by 羽 on 2015/12/17.
 */
public interface DigroadInfoMapper {
    DigroadInfo selectByPrimaryKey(String id);
    List<DigroadInfo> listByPage(@Param("param") Map<String, String> param, @Param("page") CommPageBean pageBean);
    int updateByRecord(DigroadInfo digroadInfo);
    int insertDigroad(DigroadInfo digroadInfo);
    List<DigroadInfo> listAll(Map<String, String> param);
    public void updateStatus(String flag);
    public List<DigroadInfo> listNoEnd();
    int deleteByIds(String[] ids);


}
